package jjoms.userException;

import jjoms.model.info.InfoVO;
import jjoms.model.main.ContentsVO;

public class UpdatedHitsInfoException extends Exception{
	private InfoVO infoVO;
	private ContentsVO cvo;
	
	public UpdatedHitsInfoException(ContentsVO cvo){
		super(cvo.getIvo().getKeyword());
		this.cvo = cvo;
	}
	
	public UpdatedHitsInfoException(InfoVO infoVO){
		super(infoVO.getKeyword());
		this.infoVO = infoVO;
	}
	public InfoVO getInfoVO() {
		return infoVO;
	}
	public void setInfoVO(InfoVO infoVO) {
		this.infoVO = infoVO;
	}

	public ContentsVO getCvo() {
		return cvo;
	}

	public void setCvo(ContentsVO cvo) {
		this.cvo = cvo;
	}
	
	
}
